package com.bawei.lizhiyu1228.mvp.v;

import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.bawei.lizhiyu1228.mvp.p.BasePresenter;

/**
 * @author : zhiyu
 * @date : 2021/12/28
 * @content :
 */
public abstract class BaseActivity<P extends BasePresenter> extends AppCompatActivity implements IActivity {

    private View view;

    @Override
    protected void onCreate(@Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(beanLayout());
        initView();
        initData();
    }
}
